/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */

$mdc-theme-primary: #2a7cb4;
$mdc-theme-on-primary: #ffffff;
$mdc-theme-secondary: hsl(240deg, 10%, 13%);
$mdc-theme-on-secondary: #cbcbcb;

$mdc-theme-sub-secondary: hsl(240deg, 10%, 18%);
$mdc-theme-on-sub-secondary: #cbcbcb;

$mdc-theme-surface: hsl(240deg, 10%, 16%);
$mdc-theme-on-surface: #ffffff;
$mdc-theme-background: hsl(240deg, 10%, 25%);
$mdc-theme-error: #e94948;

$color-scheme: dark;
$color-positive: #52c41a;
$color-on-positive: #fff;
$color-negative: hsl(0, 95%, 65%);
$color-status: #a08600;

$link-color: lighten($mdc-theme-primary, 10%);
$link-color-focus: #3f96d1;

$input-color: $mdc-theme-on-secondary;
$input-color-disabled: darken($input-color, 10%);
$input-color-placeholder: darken($input-color, 35%);
$input-color-readonly: darken($input-color, 5%);
$input-border: #585958;
$input-border-disabled: darken($input-border, 10%);
$input-border-readonly: darken($input-border, 5%);
$input-background: $mdc-theme-surface;
$input-background-disabled: #3e3e3e;
$input-background-readonly: #3e3e3e;

$mdc-theme-text-colors: (
  dark: (
    primary: white,
    secondary: rgba(white, 0.7),
    sub-secondary: rgba(white, 0.7),
    hint: rgba(white, 0.55),
    disabled: rgba(white, 0.45),
    icon: rgba(white, 0.45),
    negative: $color-negative,
  ),
  light: (
    primary: rgba(black, 0.87),
    secondary: rgba(black, 0.45),
    sub-secondary: rgba(white, 0.7),
    hint: rgba(black, 0.55),
    disabled: rgba(black, 0.2),
    icon: rgba(black, 0.38),
    negative: $color-negative,
  ),
);

$mdc-ripple-dark-ink-opacities: (
  hover: 0.04,
  focus: 0.1,
  press: 0.1,
  selected: 0.06,
  activated: 0.1,
) !default;

$mdc-ripple-light-ink-opacities: (
  hover: 0.04,
  focus: 0.1,
  press: 0.1,
  selected: 0.06,
  activated: 0.1,
) !default;

$theme-name: 'dark';

@import './mixins';
